<form class="layui-form layui-form-pane" lay-filter="FormBaseDatabaseConfigEdit" action="/base/database/config/edit">
    <input type="hidden" id="id" name="id" th:value="${entity.id}">
    <div class="layui-row p-l-sm m-b-xl">
        <div class="layui-row">
            <div th:replace="common/plugin :: pa-form-input('text','数据库(*)','dbSpace','layui-col-md6',32,'required',${entity.dbSpace})"></div>
            <div th:replace="common/plugin :: pa-form-input('text','表名称(*)','tableName','layui-col-md6',32,'required',${entity.tableName})"></div>
            <div th:replace="common/plugin :: pa-form-input('text','分表类型(*)','partitionType','layui-col-md6',32,'required',${entity.partitionType})"></div>
            <div th:replace="common/plugin :: pa-form-input('text','分表结构(*)','partitionStructure','layui-col-md6',32,'required',${entity.partitionStructure})"></div>
            <div th:replace="common/plugin :: pa-form-input('text','分表规则(*)','partitionRule','layui-col-md6',32,'required',${entity.partitionRule})"></div>
        </div>
    </div>
</form>
<script>
    layui.use('form', function () {
        let form = layui.form;
        form.render();
    });
</script>